package com.cn.hnust.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.cn.hnust.dao.ILfdappointDao;
import com.cn.hnust.pojo.Lfdappoint;
import com.cn.hnust.service.ILfdappointService;

@Service(value = "LfdappointService")
public class LfdappointServiceImpl implements ILfdappointService {

    @Resource
    private ILfdappointDao LfdappointMapper;

	@Override
	public int deleteByPrimaryKey(Integer id) {
		// TODO Auto-generated method stub
		return this.LfdappointMapper.deleteByPrimaryKey(id);
	}

	@Override
	public int insert(Lfdappoint record) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int insertSelective(Lfdappoint record) {
		// TODO Auto-generated method stub
		return this.LfdappointMapper.insertSelective(record);
	}

	@Override
	public Lfdappoint selectByPrimaryKey(Integer id) {
		// TODO Auto-generated method stub
		return this.LfdappointMapper.selectByPrimaryKey(id);
	}

	@Override
	public int updateByPrimaryKeySelective(Lfdappoint record) {
		// TODO Auto-generated method stub
		return this.LfdappointMapper.updateByPrimaryKeySelective(record);
	}

	@Override
	public int updateByPrimaryKey(Lfdappoint record) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public List<Lfdappoint> selectLfdappoint() {
		// TODO Auto-generated method stub
		return this.LfdappointMapper.selectLfdappoint();
	}

	@Override
	public List<Lfdappoint> selectLfdappointByLid(Integer lid) {
		// TODO Auto-generated method stub
		return this.LfdappointMapper.selectLfdappointByLid(lid);
	}

	@Override
	public List<Lfdappoint> selectLfdappointBySid(Integer sid) {
		// TODO Auto-generated method stub
		return this.LfdappointMapper.selectLfdappointBySid(sid);
	}

	@Override
	public List<Lfdappoint> selectLfdappointByOpenid(String openid) {
		// TODO Auto-generated method stub
		return this.LfdappointMapper.selectLfdappointByOpenid(openid);
	}

}
